<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>读者类型借阅明细</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {

		});
	</script>
</head>
<body>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
	<thead>
	<tr>
		<th>序号</th>
		<th>读者类型</th>
		<th>借书证号</th>
		<th>一卡通号</th>
		<th>读者姓名</th>
		<th>联系电话</th>
		<th>图书条码</th>
		<th>资料名称</th>
		<th>价格</th>
		<th>ISBN</th>
		<th>索书号</th>
		<th>借出日期</th>
		<th>应还日期</th>
		<th>归还日期</th>
		<th>续借次数</th>
		<th>操作用户</th>
		<th>状态</th>
	</thead>
	<tbody>
	<c:forEach items="${retborrowlist}" var="borrowlist"  varStatus="status">
		<tr>
			<td>${status.count}</td>
			<td>${borrowlist.readerRoler.roleName}</td>
			<td>${borrowlist.reader.rdCardno}</td>
			<td>${borrowlist.reader.rdIccardno}</td>
			<td>${borrowlist.reader.rdName}</td>
			<td>${borrowlist.reader.rdTele}</td>
			<td>${borrowlist.bkBookstore.banid}</td>
			<td>${borrowlist.bkBookinfo.bookname}<c:if test="${not empty borrowlist.bkBookinfo.othername}">-${borrowlist.bkBookinfo.othername}</c:if></td>
			<td>${borrowlist.bkBookstore.price}</td>
			<td>${borrowlist.bkBookinfo.isbn}</td>
			<td>${borrowlist.bkBookstore.classcode}/${borrowlist.bkBookstore.place}</td>
			<td><fmt:formatDate value="${borrowlist.borDate}" pattern="yyyy-MM-dd"/></td>
			<td><fmt:formatDate value="${borrowlist.needRtnDate}" pattern="yyyy-MM-dd"/></td>
			<td><fmt:formatDate value="${borrowlist.rtnDate}" pattern="yyyy-MM-dd"/></td>
			<td>${borrowlist.contCnt}</td>
			<td>${'self' eq borrowlist.source?'自助':borrowlist.userName}</td>
			<td>${fns:getDictLabel(borrowlist.status, 'borrow_status', '借出中')}</td>
		</tr>
	</c:forEach>
	</tbody>
</table>
</body>
</html>